package cn.sharp.bbs.entity.BO;

import cn.sharp.bbs.common.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserQuery extends PageParam {
    private Long id;
    private String account;
    private String email;
    private Long state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sreg;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ereg;
    private String order_by;
    private String sort;
    public UserQuery(){
        super();
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Date getSreg() {
        return sreg;
    }

    public void setSreg(Date sreg) {
        this.sreg = sreg;
    }

    public Date getEreg() {
        return ereg;
    }

    public void setEreg(Date ereg) {
        this.ereg = ereg;
    }

    public String getOrder_by() {
        return order_by;
    }

    public void setOrder_by(String order_by) {
        this.order_by = order_by;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
